#include<stdio.h>
int main() {
	int n, i, num1;
	for (i = 2; i <= 100; i++) {
		 n = 2;
		 num1 = 1;
		while (n < i) {
			if (i % n == 0) {
				num1 = 0;
				break;		
			}
				n++;
		}
		if (num1 == 1) 
			printf("%d\n", i);
	}
	return 0;
}